<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>图书管理</title>
    <link rel="stylesheet" type="text/css" href="{{ static('css/reset.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ static('css/main.css') }}">
    <script type="text/javascript" src="{{ static('js/vue-2.5.16.js') }}"></script>
    <script type="text/javascript" src="{{ static('js/axios-0.18.0.min.js') }}"></script>
    <script src="{{ static('js/jquery-1.12.4.min.js') }}"></script>
</head>
<body>
<div id="app">
    <div class="header_con">
        <div class="header" v-cloak>
            <div class="welcome fl">信阳学院图书馆</div>
            <div class="fr">
                <div v-if="username" class="login_btn fl">
                    欢迎您，管理员：<em>[[ username ]]</em>
                    <span>|</span>
                    <a href="{{ url('users:logout') }}">退出</a>
                </div>
                <div v-else class="login_btn fl">
                    <a href="{{ url('users:login') }}">登录</a>
                    <span>|</span>
                    <a href="{{ url('users:register') }}">注册</a>
                </div>
                <div class="user_link fl">
                    <span>|</span>
                    <a href="{{ url('users:info') }}">我的</a>
                </div>
            </div>
        </div>
    </div>
    <div class="search_bar clearfix">
        <a href="{{ url('contents:index') }}" class="logo fl"><img src="{{ static('images/logoz.png') }}"></a>
        <div class="search_wrap fl">
            <form method="get" action="/book_info/" class="search_con">
                <input type="text" class="input_text fl" name="p" placeholder="搜索图书">
                <input type="submit" class="input_btn fr" name="" value="搜索">
            </form>
        </div>
    </div>
    <div class="main_con clearfix">
        <div class="left_menu_con clearfix">
            <h3>管理员</h3>
            <ul>
                <li><a href="{{ url('administrator:add_book') }}" class="active">· 添加图书</a></li>
                <li><a href="{{ url('administrator:search_abook') }}" class="active">· 查找图书</a></li>
            </ul>
        </div>
        <div class="right_content clearfix" v-cloak>
            <div class="site_top_con">
                <h1 class="common_title2">欢迎您，管理员：</h1>
            </div>
            <div class="site_con">
                <div class="site_title">
                    <h3>管理员：[[ username ]]<b></b></h3>
                    <a href="javascript:;" class="edit_icon"></a>
                </div>
                <ul class="site_list">
                    <li><span>ID：</span>{{ user.username }}</li>
                    <li><span>email：</span>{{ user.email }} </li>
                    <li><span>权限：</span>{{ user.professional }} </li>
                </ul>
                <div class="down_btn">
                    <a href="javascript:;" class="edit_icon"></a>
                </div>
            </div>
            <div class="down_btn">
                <a href="javascript:;" class="edit_icon"></a>
            </div>
        </div>
    </div>
</div>
<div class="footer">
    <div class="foot_link">
        <a href="#">求真</a>
        <span>|</span>
        <a href="#">创新</a>
        <span>|</span>
        <a href="#">勤学</a>
        <span>|</span>
        <a href="#">笃行</a>
    </div>
    <p>CopyRight © 2016 信阳学院图书馆 All Rights Reserved</p>
</div>
<div class="pop_con" v-show="is_show_edit" v-cloak>
    <div class="site_con site_pop">
        <div class="site_pop_title">
            <h3 v-else>借书清单</h3>
            <a @click="is_show_edit=false">×</a>
        </div>
    </div>
</div>
</div>
<script type="text/javascript">
    let addresses = "";
    let default_address_id = "";
</script>
<script type="text/javascript" src="{{ static('js/common.js') }}"></script>
<script type="text/javascript" src="{{ static('js/book_list.js') }}"></script>
</body>
</html>